﻿using System.Collections.Generic;

namespace Finance.TodoSoft
{
	public static class ObjectExtension
	{
		public static IEnumerable<T> Repeat<T>(this T value, int count)
		{
			for (; count > 0; count--)
			{
				yield return value;
			}
		}
	}
}
